<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>语法糖的玩法</title>
</head>
<body>
    
    <div id="app">
        <a :href="url">
            {{ name }}
        </a>
        <img :src="imgUrl">
        <br>
    </div>
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    <script>
        let app = new Vue({
            el:'#app',
            data(){
                return{
                    name: '林宝',
                    url: 'https://gitee.com/Ling_wei_qiang',
                    imgUrl: 'https://www.agri35.com/UploadFiles/img_0_3281699001_463927023_26.jpg'
                }
            }
        })
    </script>
</body>
</html>